<?php
/**
 * Created by PhpStorm.
 * User: lee
 * Date: 18-12-5
 * Time: 下午5:54
 */
namespace App\HttpController;

use EasySwoole\Http\AbstractInterface\Controller;

class WebSocketTest extends Controller
{
    public function index()
    {
        // TODO: Implement index() method.
        $content = file_get_contents(__DIR__.'/websocket.html');
        $this->response()->write($content);
    }
}